home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Archive Magazine CD 1995
/
Archive Magazine CD 1995.iso
/
discs
/
shareware
/
share_41
/
assembler
/
examples
/
asl2
< prev
next >
Wrap
Text File
|
1991-05-14
|
256b
|
14 lines
; NAME asl2
; PURPOSE performs an asl by a given number of bits
; DESIGN
; copy number1, number2 to r6, r7
; shift it left
; store result in number3
ldr r6, [r1]
ldr r7, [r2]
mov r6, r6, asl r7
str r6, [r3]